import request from '@renderer/utils/request';
import { LoginData, quitData } from './types/index';
// http://192.168.31.163:8558
export function loginApi(data: LoginData) {
  return request.post('http://192.168.31.163:8558/pc/login', data);
}

export function quit(data: quitData) {
  return request({
    url: 'http://192.168.31.163:8558/pc/quit',
    method: 'get',
    params: data
  });
}
